--- a/src/view/subsurface.cpp
+++ b/src/view/subsurface.cpp
@@ -41,7 +41,8 @@ wf::subsurface_implementation_t::subsurface_implementation_t(wlr_subsurface *_su
 
 wf::point_t wf::subsurface_implementation_t::get_offset()
 {
-    assert(is_mapped());
+    if (!is_mapped())
+        return {0, 0};
 
     return {
         sub->current.x,
